var BMapFun = {};

    BMapFun.addPoint = function(aPoints,lng,lat){
        aPoints.push(new BMap.Point(lng,lat));
    };

    BMapFun.addMarker = function(aMarkers,point){
        var marker = new BMap.Marker(
            point,
            {icon: new BMap.Icon('images/marker.png',new BMap.Size(35,35))}
        );
        marker.setAnimation(BMAP_ANIMATION_DROP);
        aMarkers.push(marker);
    };
